<?php echo $this->Form->create('User', array('url' => $this->request->here(false))); ?>
<h1 class="wd-head-login">Administration Login</h1>
    <div class="control-group">
        <div class="controls">
            <div class="input-prepend">
                <?php
                if (empty($user)) {
                    echo $this->Form->input('User.username', array('label' =>false,'div'=>false,'id'=>'inputEmail','placeholder'=>'Username'));
                } else {
                    $this->request->data['User'] = $user;
                    echo $this->Form->input('User.username', array('label' =>false,'readonly' => true,'div'=>false,'id'=>'inputEmail','placeholder'=>'Username'));
                }
                ?>
            </div>
        </div>
    </div>
    <div class="control-group">
        <div class="controls">
            <div class="input-prepend">
             <?php echo $this->Form->input('User.password', array('label' =>false,'div'=>false,'id'=>'inputPassword','placeholder'=>'Password'));?>
            </div>
        </div>
    </div>
    <div class="form-actions">
        <span class="pull-left"><input type="submit" class="btn btn-inverse" value="Login" /></span>
        <span class="pull-left"><a href="#" class="flip-link" id="to-recover">Lost Your Password ?</a></span>
    </div>
    <?php echo $this->Form->end(); ?>
<!--
<form id="recoverform" action="#" class="form-vertical" />
	<p>Enter your e-mail address below and we will send you instructions how to recover a password.</p>
	<div class="control-group">
        <div class="controls">
            <div class="input-prepend">
                <span class="add-on"><i class="icon-envelope"></i></span><input type="text" placeholder="E-mail address" />
            </div>
        </div>
    </div>
    <div class="form-actions">
        <span class="pull-left"><input type="submit" class="btn btn-inverse" value="Login" /></span>
        <span class="pull-left"><a href="#" class="flip-link" id="to-recover">Lost Your Password ?</a></span>
    </div>
</form>
-->